//
//  TestMailViewController.m
//  JsUtilityDemo
//
//  Created by Gikki Ares on 2021/10/25.
//

#import "TestMailViewController.h"
#import <JsUtilitySdk/JsMailManager.h>
#import <JsUtilitySdk/JsLogManager.h>

@interface TestMailViewController ()

@end

@implementation TestMailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
	NSString * filePath = [[JsLogManager sharedInstance] getTodayLogFilePath];
	JsMailConfig * config = [JsMailConfig jsConfig];
	[[JsMailManager sharedInstance] sendFile:filePath withConfig:config];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
